#!/usr/bin/env sh

TARGET_DIR="/usr/local/bin"

if [ ! -d $TARGET_DIR ]
then
    mkdir -p $TARGET_DIR
fi

ln -Ffs "$2/JReleaser.app/Contents/MacOS/JReleaser" "$TARGET_DIR/jreleaser"

exit 0
